/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __TS_DNA_H
#define __TS_DNA_H

#include <glib.h>
#include <glib-object.h>

#define TS_DNA_TYPE (ts_dna_get_type())

G_DECLARE_FINAL_TYPE (TsDna, ts_dna, TS, DNA, GObject)

TsDna *ts_dna_new (void);
TsDna *ts_dnas_get_object (TsDna *gobject,
                          const gchar *name,
                          gpointer value);
TsDna *ts_dna_from_sql (const gchar *filename);
GList *ts_dnas_get_list (TsDna *gobject,
                          const gchar *name,
                          gpointer value);
void ts_dna_cell_set_axon_value (TsDna *dna, gint64 cell_id, gint64 axon_id,
    gint64 value, gpointer user_data);

#endif //__TS_DNA_H
